package com.riteny.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Riteny
 * 2020/7/22  11:22
 */
@Controller
@RequestMapping("/")
public class MainController {

    @GetMapping("/index")
    public String welcomePage() {
        return "/index.html";
    }
}
